* If a teacher types in an 'A', the program should allow the teacher to calculate the class average for a test. The input for this will be some unknown number of students' grades on the test. * If a teacher types a 'B', the program should allow the teacher to update the money left in the classroom budget. The input for this will be the money left over before the latest expenses (the previous balance) followed by some unknown number of expenses to be deducted to produce the new balance.The program should continue to ask the teacher for his or her choice ('A' or 'B') until a 'Q' (for quit) is typed.
Note that this problem represents two problems of the type you have worked on in the past surrounded by an outer loop that asks the user for a choice of operations.
Your tasks are to:
1. Write a problem narrative for this problem. You do not have to but may show this to the instructor when you are finished to guarantee that you understand the problem before you proceed to the rest of the test. (5 points)
2. Design a structure chart for this problem as a graphic model of the functional decomposition you have performed on this problem. Your chart should have at least 3 levels (with 'main' representing level one) (20 points).
3. For each box in your structure chart design and declare a function. This, of course, means to: